package com.question.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.question.pojo.dto.*;
import com.question.pojo.dto.QuestionPageDTO;
import com.question.pojo.entity.Question;
import com.question.pojo.entity.QuestionCategories;
import com.question.pojo.result.PageResult;
import com.question.pojo.vo.*;

import java.util.List;
import com.question.pojo.result.PageResult;
import reactor.core.publisher.Flux;

public interface IQuestionService extends IService<Question> {

    PageResult listPage(QuestionPageDTO questionPageDTO);

    List<UserQuestionVO> listAllQuestions(UserQuestionDTO questionDTO);

    QuestionSubmitVO submitAnswer(QuestionSubmitDTO questionSubmitDTO);

    List<WrongQuestionVO> listWrongQuestion();

    List<QuestionCategories> getQuestionCategory();

    AdviceVO getAdvice(Long userId,Boolean retry);
}
